// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Navigation from 'vue-navigation'
import VueWaves from 'vue-waves/dist/vue-waves.js'
import ElementUI from 'element-ui';
import marked from 'marked'

import 'element-ui/lib/theme-chalk/index.css';
import App from './App'
import router from './router'
import store from './store/index'
import tool from '@/assets/js/tool'
import '@/assets/css/border.css'
import '@/assets/css/reset.css'
import '@/assets/css/iconfont.css'
import '@/assets/css/animate.css'

let renderMD = new marked.Renderer()



Vue.config.productionTip = false

Vue.prototype.tool=tool
Vue.use(ElementUI,{ size: 'small', zIndex: 999999 });
Vue.use(Navigation, {
	router
})
Vue.use(VueWaves);

Vue.use(VueWaves, {
  name: 'waves',   // Vue指令名称
  duration: 500,  // 涟漪效果持续时间
  delay: 200      // 延时显示涟漪效果
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',

})
